package com.newlink.building.main.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.newlink.building.common_base.model.bean.ProjectData
import com.newlink.building.main.R

/**
 * Created by xiaodong on 2022/8/30.
 */
class Module_Main_PrjSelectAdapter(data: MutableList<ProjectData>) :
    BaseQuickAdapter<ProjectData, BaseViewHolder>(R.layout.item_prj_select, data) {
    init {
        addChildClickViewIds(R.id.rlContainer)
    }

    override fun convert(holder: BaseViewHolder, item: ProjectData) {
        holder.setText(R.id.tvPrjItem, item.name)
    }
}